package com.swx.identityservice.service.impl;

import com.swx.identityservice.mapper.ScbpDeptRoleMapper;
import com.swx.identityservice.models.ScbpDeptRole;
import com.swx.identityservice.service.ScbpDeptRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LC
 * @version V1.0.0
 * @date 2018-7-26 16:05
 */
@Service
public class ScbpDeptRoleServiceImpl extends CrudServiceImpl<ScbpDeptRole> implements ScbpDeptRoleService {

    @Autowired
    private ScbpDeptRoleMapper scbpDeptRoleMapper;

    @Override
    public int deleltebyroleid(int roleid) {
        return scbpDeptRoleMapper.deleltebyroleid(roleid);
    }
}
